#pragma once
#pragma warning( disable : 4018)
#ifndef __QNODE_H
#define __QNODE_H

#include <map>
#include <vector>
#include "GameObject.h"
#include <iostream>
#include <fstream>
#include <string>

using namespace std;

class GameObject;

class QNode
{
private:
	
	RECT _rect;
	double _id;

public:
	vector<QNode*> ChildNode;
	vector<GameObject*> ListObjs;

	QNode();
	QNode(RECT rect, double id);
	QNode(vector<int> &listNumber, map<int, GameObject*> &listObjects);
	~QNode();

	double Id() { return _id; }
	RECT Rect(){ return _rect; }
};
#endif
